package io.renren.modules.generator.dao;

import io.renren.modules.generator.entity.DynamicEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.generator.vo.DynamicVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *
 *
 * @author jianzhen
 * @email sunlightcs@gmail.com
 * @date 2022-05-04 15:12:38
 */
@Mapper
public interface DynamicDao extends BaseMapper<DynamicEntity> {

    List<DynamicVo> getDynamics(Long userId);

    List<DynamicVo> getChildrenDynamic(Integer dynamicId);

}
